package com.adingxiong.pm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;


@Data
@TableName("department")

public class Department {

    @TableId(type = IdType.AUTO)
    private  Integer id ;
    @TableField(value ="departmentname")
    private  String departmentname;

    public Integer getId() {
        return id;
    }

    public String getDepartmentName() {
        return departmentname;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentname = departmentName;
    }
}
